package com.yiji.fintech.musfinance.center.notify.order.base;

import com.acooly.core.utils.enums.Messageable;
import com.yiji.fintech.musfinance.base.enums.TransStatusEnum;
import com.yiji.fintech.musfinance.center.base.order.OrderFacade;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by ouwen@yiji.com} on 2017/4/20.
 */
@Data
public class NotifyOrderBase extends OrderFacade {
    /** 交易状态 */
    @NotNull
    private TransStatusEnum transStatus;
    /**清算时间*/
    @NotNull
    private Date settleDate;
    /** 结果状态 */
    @NotNull
    private Messageable status;
    /**结果状态码*/
    @NotEmpty
    private String code;
    /**结果消息*/
    @NotEmpty
    private String detail;
    /**扩展字段*/
    private String extendFields;
}
